import Vue from 'vue'
import Router from 'vue-router'

// 个人中心
import personalCenter from '@/views/personal-center'

// 设备控制
import deviceController from '@/views/device-controller'

// wifi
import wifi from '@/views/wifi'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/personalCenter',
      name: 'personalCenter',
      component: personalCenter
    },
    {
      path: '/deviceController',
      name: 'deviceController',
      component: deviceController
    },
    {
      path: '/wifi',
      name: 'wifi',
      component: wifi
    }
  ]
})
